namespace BrettM.Model.Validation
{
    public class LengthAttribute : ValidationAttribute
    {

        public LengthAttribute(int length)
        {
            this.MinLength = 0;
            this.Length = length;
        }

        public int Length { get; set; }
        public int MinLength { get; set; }

        internal override bool Validate(object o)
        {
            return true;
        }
    }
}
